package com.rc.saas.tenant.model.car;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.tenant.base.BaseModel;
import com.rc.saas.tenant.model.converter.CarNumberTypeConverter;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

public class TenantCarNumber extends BaseModel {

    @ExcelProperty(value = "Id",index = 0)
    private Long numberId;
    @ExcelIgnore
    private String tenantCode;
    @ExcelIgnore
    private Long memberId;

    @ExcelIgnore
    private String isEnterprise;

    @ExcelIgnore
    private Long enterpriseMemberId;

    @ExcelIgnore
    private Long brandId;

    @ExcelIgnore
    private String carArea;

    @ExcelIgnore
    private String carLetter;

    @ExcelIgnore
    private String carBelong;

    @ExcelIgnore
    private String carNum;

    @ExcelProperty(value = "车牌号", index = 3)
    private String carNo;

    @ExcelProperty(value = "车辆型号", index = 4)
    private String carType;

    @ExcelIgnore
    private String carVin;

    @ExcelProperty(value = "车辆类型", index = 5, converter = CarNumberTypeConverter.class)
    private String carNumberType;

    @ExcelIgnore
    private String vinDefaultAccountType;
    @ExcelIgnore
    private String startType;
    @ExcelIgnore
    private String localNum;

    @ExcelIgnore
    private String route;

    @ExcelIgnore
    private String isDefault;

    @ExcelIgnore
    private Long migrateId;

    @ExcelIgnore
    private String createdBy;

    @ExcelProperty(value = "注册时间", index = 6)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    @ExcelIgnore
    private String lastUpdatedBy;

    @ExcelIgnore
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;


    @ExcelIgnore
    private String endurance;

    @ExcelIgnore
    private String productionYear;

    @ExcelIgnore
    private String carImg;
    @ExcelIgnore
    private String remark;
    @ExcelIgnore
    private String provinceId;
    @ExcelIgnore
    private String cityId;
    @ExcelIgnore
    private String areaId;

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public Long getNumberId() {
        return numberId;
    }

    public void setNumberId(Long numberId) {
        this.numberId = numberId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getIsEnterprise() {
        return isEnterprise;
    }

    public void setIsEnterprise(String isEnterprise) {
        this.isEnterprise = isEnterprise;
    }

    public Long getEnterpriseMemberId() {
        return enterpriseMemberId;
    }

    public void setEnterpriseMemberId(Long enterpriseMemberId) {
        this.enterpriseMemberId = enterpriseMemberId;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public String getCarArea() {
        return carArea;
    }

    public void setCarArea(String carArea) {
        this.carArea = carArea;
    }

    public String getCarLetter() {
        return carLetter;
    }

    public void setCarLetter(String carLetter) {
        this.carLetter = carLetter;
    }

    public String getCarBelong() {
        return carBelong;
    }

    public void setCarBelong(String carBelong) {
        this.carBelong = carBelong;
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getCarVin() {
        return carVin;
    }

    public void setCarVin(String carVin) {
        this.carVin = carVin;
    }

    public String getCarNumberType() {
        return carNumberType;
    }

    public void setCarNumberType(String carNumberType) {
        this.carNumberType = carNumberType;
    }

    public String getVinDefaultAccountType() {
        return vinDefaultAccountType;
    }

    public void setVinDefaultAccountType(String vinDefaultAccountType) {
        this.vinDefaultAccountType = vinDefaultAccountType;
    }

    public String getStartType() {
        return startType;
    }

    public void setStartType(String startType) {
        this.startType = startType;
    }

    public String getLocalNum() {
        return localNum;
    }

    public void setLocalNum(String localNum) {
        this.localNum = localNum;
    }

    public String getRoute() {
        return route;
    }

    public void setRoute(String route) {
        this.route = route;
    }

    public String getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault;
    }

    public Long getMigrateId() {
        return migrateId;
    }

    public void setMigrateId(Long migrateId) {
        this.migrateId = migrateId;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public String getEndurance() {
        return endurance;
    }

    public void setEndurance(String endurance) {
        this.endurance = endurance;
    }

    public String getProductionYear() {
        return productionYear;
    }

    public void setProductionYear(String productionYear) {
        this.productionYear = productionYear;
    }

    public String getCarImg() {
        return carImg;
    }

    public void setCarImg(String carImg) {
        this.carImg = carImg;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}